package model;

/**
 * Created by haohao~ on 2015/12/12.
 */
public class User {
    private String name;
    private String passWord;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public User(String name, String passWord) {

        this.name = name;
        this.passWord = passWord;
    }

    @Override
    public String toString() {
        return "用户名是："+this.getName()+"密码是："+this.getPassWord();
    }

    public User() {

    }
}
